import request from '@/utils/request'
export function getOrderList(params) {
  return request({
    url: '/operate/order/queryXcxOrderList',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    },
    method: 'post',
    data: params
  })
}
export function addTrans(params) {
  return request({
    url: '/operate/order/addXcxOrderTraninfo',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    },
    method: 'post',
    data: params
  })
}



export function getListPage(params) {
  return request({
    url: '/operate/order/queryList',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8',
      'pageNum': params.pageNum,
      'pageSize': params.pageSize
    },
    method: 'post',
    data: params
  })
}

export function getCountyListPage(params) {
  return request({
    url: '/operate/order/queryCountyOrderList',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8',
      'pageNum': params.pageNum,
      'pageSize': params.pageSize
    },
    method: 'post',
    data: params
  })
}
